<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>IconHunter - 首页</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" rel="stylesheet">
    <style>
        body {
            -webkit-user-select: none;
            user-select: none;
            overflow: hidden;
            background-color: #f8f9fa;
        }
    </style>
</head>
<body class="bg-slate-50 h-screen">
    <!-- iOS 状态栏 -->
    <div class="bg-black text-white flex justify-between items-center px-4 py-2">
        <div class="text-sm font-medium">9:41</div>
        <div class="flex space-x-1">
            <i class="fa-solid fa-signal"></i>
            <i class="fa-solid fa-wifi"></i>
            <i class="fa-solid fa-battery-full"></i>
        </div>
    </div>

    <!-- 主内容区 -->
    <div class="h-[calc(100%-112px)] overflow-hidden">
        <!-- 头部 -->
        <div class="px-6 py-6">
            <h1 class="text-3xl font-bold text-blue-600">IconHunter</h1>
            <p class="text-slate-500 mt-1">搜索并下载应用图标</p>
        </div>

        <!-- 搜索框 -->
        <div class="px-6 mb-8">
            <div class="relative">
                <input type="text" placeholder="搜索应用名称..." class="w-full bg-white rounded-full py-3 px-5 pl-12 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-500 text-gray-700">
                <i class="fa-solid fa-search absolute left-4 top-3.5 text-gray-400"></i>
            </div>
        </div>

        <!-- 分类卡片 -->
        <div class="px-6 mb-6">
            <h2 class="text-xl font-bold text-gray-700 mb-4">选择图标类型</h2>
            <div class="grid grid-cols-2 gap-4">
                <div class="bg-white rounded-xl p-5 shadow-sm hover:shadow-md transition-all cursor-pointer border border-gray-100">
                    <div class="bg-blue-100 rounded-full w-12 h-12 flex items-center justify-center mb-3">
                        <i class="fa-brands fa-apple text-blue-600 text-xl"></i>
                    </div>
                    <h3 class="text-lg font-semibold text-gray-800">iOS 应用</h3>
                    <p class="text-sm text-gray-500 mt-1">iPhone &amp; iPad 应用图标</p>
                </div>
                
                <div class="bg-white rounded-xl p-5 shadow-sm hover:shadow-md transition-all cursor-pointer border border-gray-100">
                    <div class="bg-violet-100 rounded-full w-12 h-12 flex items-center justify-center mb-3">
                        <i class="fa-brands fa-apple text-violet-600 text-xl"></i>
                    </div>
                    <h3 class="text-lg font-semibold text-gray-800">Mac 应用</h3>
                    <p class="text-sm text-gray-500 mt-1">macOS 应用图标</p>
                </div>
                
                <div class="bg-white rounded-xl p-5 shadow-sm hover:shadow-md transition-all cursor-pointer border border-gray-100">
                    <div class="bg-emerald-100 rounded-full w-12 h-12 flex items-center justify-center mb-3">
                        <i class="fa-solid fa-globe text-emerald-600 text-xl"></i>
                    </div>
                    <h3 class="text-lg font-semibold text-gray-800">网页图标</h3>
                    <p class="text-sm text-gray-500 mt-1">网站 Favicon 图标</p>
                </div>
                
                <div class="bg-white rounded-xl p-5 shadow-sm hover:shadow-md transition-all cursor-pointer border border-gray-100">
                    <div class="bg-amber-100 rounded-full w-12 h-12 flex items-center justify-center mb-3">
                        <i class="fa-solid fa-star text-amber-600 text-xl"></i>
                    </div>
                    <h3 class="text-lg font-semibold text-gray-800">热门图标</h3>
                    <p class="text-sm text-gray-500 mt-1">流行应用图标集合</p>
                </div>
            </div>
        </div>

        <!-- 最近搜索 -->
        <div class="px-6">
            <div class="flex justify-between items-center mb-4">
                <h2 class="text-xl font-bold text-gray-700">最近搜索</h2>
                <a href="#" class="text-blue-500 font-medium text-sm">查看全部</a>
            </div>
            <div class="flex space-x-4 overflow-x-auto pb-4 no-scrollbar">
                <div class="flex flex-col items-center">
                    <div class="w-14 h-14 rounded-xl bg-white shadow-sm flex items-center justify-center p-1">
                        <img src="https://images.unsplash.com/photo-1611162617213-7d7a39e9b1d7?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" alt="Spotify" class="w-10 h-10 rounded-lg">
                    </div>
                    <span class="text-xs text-gray-600 mt-1">Spotify</span>
                </div>
                <div class="flex flex-col items-center">
                    <div class="w-14 h-14 rounded-xl bg-white shadow-sm flex items-center justify-center p-1">
                        <img src="https://images.unsplash.com/photo-1611162616475-46b635cb6868?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" alt="Netflix" class="w-10 h-10 rounded-lg">
                    </div>
                    <span class="text-xs text-gray-600 mt-1">Netflix</span>
                </div>
                <div class="flex flex-col items-center">
                    <div class="w-14 h-14 rounded-xl bg-white shadow-sm flex items-center justify-center p-1">
                        <img src="https://images.unsplash.com/photo-1611162618071-b39a2ec055fb?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" alt="Twitter" class="w-10 h-10 rounded-lg">
                    </div>
                    <span class="text-xs text-gray-600 mt-1">Twitter</span>
                </div>
                <div class="flex flex-col items-center">
                    <div class="w-14 h-14 rounded-xl bg-white shadow-sm flex items-center justify-center p-1">
                        <img src="https://images.unsplash.com/photo-1611162616305-c69b3710ff62?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" alt="Instagram" class="w-10 h-10 rounded-lg">
                    </div>
                    <span class="text-xs text-gray-600 mt-1">Instagram</span>
                </div>
                <div class="flex flex-col items-center">
                    <div class="w-14 h-14 rounded-xl bg-white shadow-sm flex items-center justify-center p-1">
                        <img src="https://images.unsplash.com/photo-1633356122544-f134324a6cee?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" alt="Slack" class="w-10 h-10 rounded-lg">
                    </div>
                    <span class="text-xs text-gray-600 mt-1">Slack</span>
                </div>
            </div>
        </div>
    </div>

    <!-- 底部导航栏 -->
    <div class="bg-white fixed bottom-0 w-full h-20 shadow-lg border-t border-gray-200 flex justify-around items-center px-6">
        <a href="#" class="flex flex-col items-center text-blue-500">
            <i class="fa-solid fa-house text-xl"></i>
            <span class="text-xs mt-1 font-medium">首页</span>
        </a>
        <a href="#" class="flex flex-col items-center text-gray-400">
            <i class="fa-solid fa-magnifying-glass text-xl"></i>
            <span class="text-xs mt-1">搜索</span>
        </a>
        <a href="#" class="flex flex-col items-center text-gray-400">
            <i class="fa-solid fa-clock-rotate-left text-xl"></i>
            <span class="text-xs mt-1">历史</span>
        </a>
        <a href="#" class="flex flex-col items-center text-gray-400">
            <i class="fa-solid fa-gear text-xl"></i>
            <span class="text-xs mt-1">设置</span>
        </a>
    </div>
</body>
</html> 